package com.xywl.escort.bean;

import java.math.BigDecimal;

/**
 * 商品基本数据存储类
 *
 * @author hfk
 */
public class BaseSkuModel {

    //base 属性
    public BigDecimal price;//价格
    public BigDecimal originalPrice;//价格
    public long stock;//库存

    public String spuId;
    public String spuName;

    public String id;
    public String skuName;

    public String picture;

    public BaseSkuModel() {
    }

    public BaseSkuModel(BaseSkuModel skuKeyBean) {
        this.price = skuKeyBean.price;
        this.originalPrice = skuKeyBean.originalPrice;
        this.stock = skuKeyBean.stock;
        this.spuId = skuKeyBean.spuId;
        this.spuName = skuKeyBean.spuName;
        this.id = skuKeyBean.id;
        this.skuName = skuKeyBean.skuName;
        this.picture = skuKeyBean.picture;
    }

    @Override
    public String toString() {
        return "BaseSkuModel{" +
                "picture=" + picture + '\'' +
                ", originalPrice=" + originalPrice + '\'' +
                ", stock=" + stock + '\'' +
                ", spuId=" + spuId + '\'' +
                ", spuName=" + spuName + '\'' +
                ", skuId=" + id + '\'' +
                ", skuName='" + skuName + '\'' +
                ", price='" + price + '\'' +
                '}';
    }
}